﻿/*
 * My Timer - cdLoadString.cs
 * 
 * Copyright (C) 2009 Ahmad Hanis Azmi
 * 
 * This file is part of My Timer
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace My_Timer
{
    static class LoadString
    {
        // Load translation string
        // Todo: postponed until translation implemented: Read translation files, get and set translation text

        // String for frmMain
        public static void f_LoadStringMain()
        {
            GlobalClass.r_frmMain.Text = "My Timer";
            GlobalClass.r_frmMain.btnOK.Text = "OK";
            GlobalClass.r_frmMain.btnAbout.Text = "About";
            GlobalClass.r_frmMain.tabPage1.Text = "Timers";
            GlobalClass.r_frmMain.btnSetting.Text = "Settings";
        }

        // String for frmAbout
        public static void f_LoadStringAbout()
        {
            GlobalClass.r_frmAbout.Text = "About";
            GlobalClass.r_frmAbout.lVersion.Text = "Version: " + Application.ProductVersion.ToString();
            GlobalClass.r_frmAbout.lWebsite.Text = "Website: ";
            GlobalClass.r_frmAbout.lCopyright.Text = "Copyright © " + System.DateTime.Now.Year.ToString() + " Ahmad Hanis Azmi";
        }

        // String for frmTray
        public static void f_LoadStringTray()
        {

        }
    }
}